package org.feisoft.transaction.supports.resource;

import javax.transaction.xa.XAResource;
import javax.transaction.xa.Xid;

public interface XAResourceDescriptor extends XAResource
{

    public String getIdentifier();

    public void setIdentifier(String identifier);

    public XAResource getDelegate();

    public void setTransactionTimeoutQuietly(int timeout);

    public boolean isTransactionCommitted(Xid xid) throws IllegalStateException;

}
